花费 8 ms
“linux shell”中的“$1”是什么?

美元符加字符串bai是引用变量值,而美元符加数字表示命du令行参数。比如:zhibash$ ./hello.sh build test 脚本中$0的值就是dao./hello.sh,$1的值是bui ...

Wed Jul 08 21:43:00 CST 2020 0 2261
-z "${PID}"

-z "${pid}"判断pid是否存在 -z 空串 ...

Wed Jul 08 19:42:00 CST 2020 0 575

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM